package com.shasselclub.project.ask.zhuliRecord.mapper;

import java.util.List;
import java.util.Map;

import com.shasselclub.api.v1.result.WeiXinZhuLiInfo;
import com.shasselclub.project.ask.zhuliRecord.domain.ZhuliRecord;

/**
 * 好友助力记录Mapper接口
 * 
 * @author zhengyunfei
 * @date 2022-08-08
 */
public interface ZhuliRecordMapper 
{
    /**
     * 查询好友助力记录
     * 
     * @param id 好友助力记录主键
     * @return 好友助力记录
     */
    public ZhuliRecord selectZhuliRecordById(Long id);

    /**
     * 查询好友助力记录列表
     * 
     * @param zhuliRecord 好友助力记录
     * @return 好友助力记录集合
     */
    public List<ZhuliRecord> selectZhuliRecordList(Map<String,Object> map);

    /**
     * 新增好友助力记录
     * 
     * @param zhuliRecord 好友助力记录
     * @return 结果
     */
    public int insertZhuliRecord(ZhuliRecord zhuliRecord);

    /**
     * 修改好友助力记录
     * 
     * @param zhuliRecord 好友助力记录
     * @return 结果
     */
    public int updateZhuliRecord(ZhuliRecord zhuliRecord);

    /**
     * 删除好友助力记录
     * 
     * @param id 好友助力记录主键
     * @return 结果
     */
    public int deleteZhuliRecordById(Long id);

    /**
     * 批量删除好友助力记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZhuliRecordByIds(String[] ids);

    int count(Map<String, Object> hdQueryMap);

    List<WeiXinZhuLiInfo> getZhuLiHeadImg(Map<String, Object> hdQueryMap);
}
